package box.interview.wx.miniapp.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 分类信息表
 * </p>
 *
 * @author author
 * @since 2023-11-15
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("wx_miniapp_category")
public class WxMiniappCategory implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 分类名称
     */
    private String name;

    /**
     * 图片
     */
    private String imgUrl;

    /**
     * 父分类ID
     */
    private Long pid;

    /**
     * 等级
     */
    private Integer level;

    /**
     * 状态
     */
    private Integer status;

    private LocalDateTime createDate;

    private LocalDateTime updateDate;


}
